package leetcode.code0326;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution326 implements IDebug {

	public abstract boolean isPowerOfThree(int n);

	@Override
	public void debug1() {
		int n = 27;
		boolean e = true;
		boolean r = this.isPowerOfThree(n);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int n = 0;
		boolean e = false;
		boolean r = this.isPowerOfThree(n);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		int n = 9;
		boolean e = true;
		boolean r = this.isPowerOfThree(n);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		int n = 45;
		boolean e = false;
		boolean r = this.isPowerOfThree(n);
		HelpDebug.compare(e, r);
	}

}
